Adapt to WoltLab/WCF@1fd7bdc12e5afc20ef8519e31e134098aff9f320
Disable message pruning if CHAT_LOG_ARCHIVETIME is set to -1