Move entry spills determination to JNI compiler. am: 662f12ee2f

Change-Id: If641bb1a4daaaea4a4009e372072cd9691d4cf7b