fix channel swap warning that would occur each time a grayscale image is loaded.
swap warning alternative
Merge pull request #3343 from tgfrerer/fix-channel-swap-warning

fix ofImage channel swap warning