leds-gpio: fix possible crash on OF device unbinding