Linking with gold if available. Added text section ordering for performance.

Summary: Closes https://github.com/facebook/hhvm/pull/4010

Reviewed By: @fredemmott

Differential Revision: D1624948