imagemagick: further fixes to the ubuntu depexts