Merge "Dexopt: fix a bug due to unsign int." am: 2d95bb9dc4

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1500650

Change-Id: I6d4f1a885a85be2da7565860f4233dc6d060ab4b