Full GD Support in Linux

This pull request enables the remainder of GD support for HHVM on Linux, including imagettfbbox and others. This PR resolves Issue [#2576](https://github.com/facebook/hhvm/issues/2576) and replaces PR [#2588](https://github.com/facebook/hhvm/pull/2588).