leds: leds-pca9532 - fix memory leak and properly handle errors