remove obsolete code for ImageMagick dependency check