vnc: Add a conversion function for bgr888.