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

This reverts commit ec92b620d65157ffd56cbe0eb07c2c9a1245015a.