[ltdc-stm32f4] add helper function to convert rgb565 to rgb888