v4l2videoenc: Set default latency if the frame duration is invalid