[linker] Expand and correct symbol requirement macros