Revert "Revert "apply library synonyms using wrapper functions, to avoid needing hacks in the compiler ; 1.19.2""

This reverts commit 796fe2366161a9060d44b6f9e914e390dad421bf.
Fix error that broke inlining of aliases of asm functions like llvm_memcpy_*