Gfx::doImage: Simplify memory management

of maskColorMap by using a std::unique_ptr

Fixes a memory leak reported by Coverity
1 file changed