Wait delay

This branch/pull request contains few new apis for tinyalsa
- pcm_delay() for reporting the pcm delay value
- pcm_get_subdevice() for reporting the subdevice for device
- allow pcm_wait to work for POLLIN too