leds: pca9532: fix a potential NULL pointer dereference