getrusage(): fill ru_inblock and ru_oublock fields if possible