[PATCH 5.4 04/52] gpiolib: of: fix bounds check for gpio-reserved-ranges