lock to rmagick that handles SetImageColorspace correctly