fix printing of const/volatile/reference types