Bug 844820 - Fix two benign races in nsTArray around sEmptyHdr. a=bz