Fix code that checked for stream==nullptr after stream had been resolved to a "true stream". [ROCm/clr commit: b2b620c12b]
b2b620c12b