[ticket/12940] Remove unused use statements.

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