Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event

See b.android.com/55873

Change-Id: I62615987ef85e30420a7e17d4cd5a3be4d9fe3ce
Merge "Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event" into jb42