Remove unnecessary allocation in building Headers.

Noticed this while working on other things.