[PATCH 5.10 39/42] gpiolib: Fix the error path order in gpiochip_add_data_with_key()