[PATCH 6.6 130/143] gpiolib: Fix the error path order in gpiochip_add_data_with_key()