[ticket/11574] Fix various path issues in the updater

PHPBB3-11574
[ticket/11574] Fix table prefix in database updater

PHPBB3-11574