Update grass.rb

Apply correct patch if building HEAD, otherwise use inline patch from script.