Fix LLD build error under GCC

This got pulled in with last upstream integration.