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

This reverts commit 9f6e0633877b50b12baf81a55467c5cae49e5aad.