Fix handling of initializers for linker_private_weak global variables.