More 64-bit fixes for libcore native code.

Change-Id: Id296613590f7ccfc7b5880b27418fe3f5d511974
10 files changed