--no-display property fix in stereo_match.cpp sample

comes from #1951, targeting 2.4 branch as requested