Change the FxOS radioType workaround code to support different radio types.

This is in support of https://bugzilla.mozilla.org/show_bug.cgi?id=1035097.