StmtPrinter: Directly print types to the stream instead of taking a detour through getAsString.