Fix searching of MagickWand library with HDR support enabled

Hi!

Currently, `wand` not able for load libraries with name like this - `libMagickWand-6.Q16HDRI.so`.

I add support to `wand` for custom options in name.

There is pull request #140, but i think this is more general solution.