octave: fix build error with ImageMagick