add macro to convert 8bit RGB to RGB565