Resize filter support for Imagick and Gmagick

This has no effect on GD, that does not support a resize filter.
Thx to AnthonySterling for inspiration for the implementation