dbcheck.cc: Fix clang 5.0 build error.

Change the position of "include <ostream>"