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

This reverts commit 706fc3c4c5973d672e4afc07c212a7760d73c659.