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

This reverts commit d02f1549dc11d4ffba7719de62f1943e35312969.