update vips.rb to latest stable, 7.38.5

also improve support for building against graphicsmagick, see:

https://github.com/jcupitt/ruby-vips/issues/50

this pull request replaces https://github.com/Homebrew/homebrew-science/pull/653