[ticket/11522] Bad topic count per forum with shadow topic

This patch added a verification to know if a shadow topic is deleted during a topic move and changed the topic count of the forum if necessary.

https://tracker.phpbb.com/browse/PHPBB3-11522