Only use data-font-name attributes when necessary.

The data-font-name attribute of textLayer divs are only used by the Font
Inspector. This change ensures they are only present when the pdfBug
tools are enabled.
Merge pull request #5193 from nnethercote/data-font-name

Only use data-font-name attributes when necessary.