Fix minor OSX build issue in LedgerDump.cpp

Coercion of istream to bool doesn't work in some versions of clang++.