Revert "Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event"

This reverts commit 60993b28b5034fe8144645a0a16d1b2530215e94.