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

This reverts commit c01e1ed68885edafd4ad9d62e0f31e7875651867.