[mach-o] use new way to copy StringRefs