test/mon/workloadgen: added check of return value for statfs()

check the return value of statfs() in update_osd_stat()

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>