Add linker support to link function types.

Bug: 71486762

Test: tests/test.py

Test: m -j vndk_package; verify that .lsdump files have function_types
      with references to parameters and return type.

Merged-In: I229bf9a40c8909cefa58a301ae993ef5c3b40e71
Change-Id: I229bf9a40c8909cefa58a301ae993ef5c3b40e71
(cherry picked from commit d223f25450cfb152d2acd6bad416bfb5bb56e045)
8 files changed