dbcheck.cc: Fix clang build error.

Include ostream.