[ticket/12639] Don't make a copy of $marked when deleting logs in acp_logs

PHPBB3-12639