Fix installation error on systems with HRDI enabled RMagick

Integrates @bricef's fork, which in-turn implements a widely-available and widely-tested patch for HDRI enabled RMagick. 

Most linux package maintainers are moving toward HDRI support. The pull request makes RMagick usable on those systems.