Simplify minimum required ImageMagick version checking
Backport Kernel#require_relative to Ruby versions < 1.9.2