gpio: of: remove unnecessary variable in of_get_gpio_hog()