Update references to functions in debug info metadata.