MDL-31860 mod_forum: fix some coding guideline issues.