Fix "Call to undefined method XF\Entity\User::canReportSearch()" that can occur during upgrading
When a post is being reported; inject 'user has been warned for this post' notice, and a 'has been reply-banned' notice if SV/ThreadReplyBanTeeth add-on is installed