imagemagick: fix ubuntu precise depexts

Part of #1304
imagemagick: further fixes to the ubuntu depexts
libsvm: add depexts for ubuntu/debian

found as part of #1304 triage
Merge pull request #1484 from mirage/master

imagemagick: fix ubuntu precise depexts