ShadowMotionEvent: implement proper getPointerIdBits.

This makes ViewGroup.dispatchTouchEvent propagate the motion events
correctly down to their children.