Pin mini_magick to version < 4.0 to fix failing tests

Tests fail under both ruby 2.0 and 2.1.x when using mini_magick 4.0.  Pinning to 3.8 fixes.