game_engine. Fix to jni on pause.

If the passed engine handle is null, don't do anything.
This fixes an issue that causes a crash when running instrumentation tests.