regulator: stpmic1: Return REGULATOR_MODE_INVALID for invalid mode