Gracefully handle NULL from gcc_jit_context_get_first_error