cogl/trace: Add check for failed sysprof context creation
This can fail for example when passing an invalid filename to
mutter --profile
, which leads to assertion failures down the line.
This can fail for example when passing an invalid filename to
mutter --profile
, which leads to assertion failures down the line.