MDL-47080 theme: use html_writer in brand link