ofImage saveImage: only swapRGB on required formats. Closes #3229

Also when swapping RGB reflect on the internal pixel type in ofPixels
Merge branch 'master' of github.com:openframeworks/openFrameworks