Fix setting of numberOfDisparities when passing state dictionary to StereoImage.get3DImage

For both BM and SGBM, the referenced local variable `nDisparity` should have been `numberOfDisparities`.