Update imagemagick.rb to the latest formula

I'm seeing errors when trying to install the rmagick gem with the boxen version of imagemagick, but not with the current homebrew version. Trying to see if I can reconcile the differences.