Add missing <streambuf> inclusion

This fixes compilation with recent versions of clang.