[PATCH openEuler-5.10 07/64] gpiolib: of: fix bounds check for 'gpio-reserved-ranges'