[build] Add -fno-dwarf2-cfi-asm to CFLAGS if supported by the gcc in use