regulator: gpio-regulator: Catch 'no states property' misuse