[mjpegtools] adapt for rhel9