only modify ctx->ctx in case of GCABI_HAS_CONTEXT

This commit fixes the last commit.