Checks if context obj is NULL before calling clReleaseContext() in GoclContext
[example] Resets error to NULL if GPU context creating fails