leds-pca955x: add proper error handling and fix bogus memory handling