lavc/hapenc: Silence a warning for multithreaded encoding.