Fix bitmask handling when changing LEDs

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>