ld/PDB: fix off-by-1 in add_globals_ref() Copying one too many bytes can corrupt memory, detected/reported by glibc on a 32-bit distro.