Fixes --enable-asan compilation in MacOS
Summary:
This fixes --enable-asan linkage for MacOS.
--fsanitize=address is not passed by default by libtool when linking libbitcoinconsesus, probably because of https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
By simply adding the flag in LIBTOOL_APP_LDFLAGS, the option is pass, and the library created successfully.
For Address sanitation, it is necesary to disable assembly (--disable-asm) in MacOS, the llvm compiler doesnt seem to understand the inline asm format with using --enable-asan, not sure why.
Test Plan: ./configure --enable-asan --disable-asm && make && ./src/test/test_bitcoin
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Subscribers: deadalnix, schancel, teamcity
Differential Revision: https://reviews.bitcoinabc.org/D1407