Demagnetizing Field Effect on the Detection Range of a Galfenol-Based Magnetic Field Sensor