Update ForumToolbarComponent.php

It should not only check the Forum session.
The moderator permission will never be updated.

Even for a non-login user, you have a Forum.lastVisit session value. If you only check the Forum session, the moderators' permission will not work correctly.