move fixup functions into rtld_fixup.c