dc_trans: optimize the inner loops
dc_trans: fix the color calculation in ARGB2RGB565_AA