fixed bug in led_pixel_format_get_n_components