[ticket/13044] move GMT string out of gmdate()

PHPBB3-13044