Add patch to disable garbage collection on Darwin

Patch taken from http://review.source.kitware.com/#/c/14424/.