testprogs: fix REG_SZ in print_printer_data.