cpp: PixelBuffer: correct stream tests to work with clang++