Fix resource leak with iOS camera due to failure to remove AVCaptureSession input/outputs on stop (Bug #3389)