Fix compilation errors on osx

Summary:
Feature: Compilation

Use timeout_t instead of scalar value in vio_io_wait()

Test Plan: mtr

Reviewers: pivanof, steaphan, darnaut

Reviewed By: steaphan

CC: jtolmer, CalvinSun, WebScaleSQL

Differential Revision: https://reviews.facebook.net/D17667