8042428: CompileQueue::free_all() code is incorrect Free task after getting next pointer of freelist. Reviewed-by: kvn, adlertz