Prevent malformed classnames.

In the event that the provided printer's class name has "Provider"; don't try forcing "Printer" on to it; or you'd get RubyProf::GraphPrinterPrinter.