Fix -Wpointer-arith.

Another build failure caused by Gecko [bug 1076698](https://bugzil.la/1076698), this time due to turning -Wpointer-arith into errors.