Only emit movw on ARMv6T2+

Fix PR18364.

Patch by Dimitry Andric.