Mapping the Galactic magnetic field with OH masers