dbcheck.cc: Fix clang 5.0 build error.

Include ostream.