src: remove usage of AllocatedBuffer from stream_*
#40293
Closed
AllocatedBuffer from stream_*
#40293