[ticket/12250] Remove deprecated phpbb_clean_path function

The function phpbb_clean_path() in functions.php is deprecated as is not
used used 3.0/3.1 core

PHPBB3-12250
Ticket URL: http://tracker.phpbb.com/browse/PHPBB3-12250