Minor clean-up in DeviceOrientation and DeviceMotion

No functional change.

See corresponding external/webkit change
https://android-git.corp.google.com/g/#change,125700

Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
7 files changed