utils: fix rounding of micro seconds