Merge "Cleaning up accumulate_frame_motion_stats()."