Add section switching to to common AsmPrinter code.