Replaced printf with pth_debug. Fixed timer bug in pth_select.

Signed-off-by: Andrew Miller <amiller@dappervision.com>
Added pth _gettimeofday redirection to shd_dl_gettimeofday so I can guarantee an offset is added.

Signed-off-by: Andrew Miller <amiller@dappervision.com>