explicitly include <ostream> (bnc#891676)

to avoid possible compile failures

See [bnc#891676](https://bugzilla.novell.com/show_bug.cgi?id=891676) for details.

- 3.1.17