Mark html_attributes as used

If the renderer is holding an html_attributes hash then it needs to mark it as used when the GC runs, or it may be freed.