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.