[ticket/12775] Move phpbb_convert_30_dbms_to_31 into the config file class

PHPBB3-12775