Not exactly the same issue (build succeeds and newer version here), nevertheless I am building it with GraphicsMagick support and that seems to work. I will not request Patrick to downgrade ImageMagick for that
PS. Maybe I could trick the cmake tests to accept ImageMagick 7.1 and see if the build succeeds but I don't have the time for such experiments