[ticket/13004] Remove obsolete S_HAS_ATTACHMENTS check from topic tools.

https://tracker.phpbb.com/browse/PHPBB3-13004