move gettemplabel and getdwlabel to AsmPrinter and rename