parser integration test: use std::istream as a template argument for std::shared_ptr

gcc 4.4 has problems with such implicit conversions...
Merge pull request #217 from andlaus/fix_gcc_4_4

parser integration test: use std::istream as a template argument for std::shared_ptr