image/draw: speed up DrawPyrDown for Gray and RGBA.