[ticket/12099] Fix clean_path() ".." stripping when previous directory was "."

PHPBB3-12099