Skip memcpy only when pixelformat is RGB888