Fix handling of RGBA buffers in CalRGB colorspace (issue 5270)
Merge pull request #5276 from Snuffleupagus/issue-5270

Fix handling of RGBA buffers in CalRGB colorspace (issue 5270)