regulator: fix voltage check in regulator_is_supported_voltage()