try to prevent crash if running latency calibration with JACK setup that is lacking input or output ports (re: #5721 and #5719)