regulator: Push locking for regulator_is_enabled() out