imagemagick: fix ubuntu precise depexts

Part of #1304