[PATCH 5.15 008/135] gpiolib: of: fix bounds check for gpio-reserved-ranges