Fix cast from pointer to integer of different size

Fixes last compilation bug. It now compiles on Android.

(cherry picked from 8caa27c2601e69bc404ff28fc4c5c39860d8d5bf)

Test: cts-tradefed run cts -m CtsLibcoreTestCases -t libcore.xml.ExpatSaxParserTest
Bug: 30157673
Bug: 29149404
Change-Id: I9be82ac4dfb430c8d7398aa69b100820957f6279
2 files changed