gcc: port libsanitizer

Thanks to Palmer Dabbelt for contributing this patch.
gcc: add mul/div emulation routines to libgcc
gcc: support -march flag

Arguments like IMAFD or RV32I are supported.