reader: Allow fstrm_reader_destroy() and fstrm_reader_close() to close an opened reader

This prevents a leak in the case that the client doesn't read to the end
of the stream before calling fstrm_reader_destroy() or
fstrm_reader_close().