[Fix] Abort when GlMock is not created

Signed-off-by: darkenk <darkenk@gmail.com>