regulator: ab8500 - fix off-by-one value range checking for selector