[ticket/11902] Prevent errors if set_time_limit disabled

PHPBB3-11902