Pass -g dwarf2 to yasm when assembling in debug mode.