ImageMagick: Version as a String for 6.7.7-6

As suggested in #21138