address compatibility warnings from AMO

https://addons.mozilla.org/en-US/developers/addon/firetray/file/203468/validation.
Not sure if we should not just drop compatibility...  We should be able to
support back to Gecko 4.0 but ctypes-utils.jsm uses features introduced in 7.0.