optimize RGBA to ARGB converting