Const-ify some printing and dumping code for DIEValues.