gsdbget: don't print info text if only docinfo/body is requested

I.e. so that we can pipe gsdbget output to json_reformat or similar
tool.