regulator: core: Check that the selector from map_voltage() is valid