[io-layer] Remove another usage of getdtablesize ().