Make sure we never modify the pattern's QImage in KisTextureMaskInfo::recalculateMask()
Since the updated patch, the neutral point algorithm modifies the QImage
itself, so we must ensure that the we do not touch the global QImage
stored on the resource server.