Fix configure and build errors on OS X Yosemite: Substitute preadv and pwritev with lseek+readv/writev if not available. Redundant check for clock_gettime removed, which was already checked in the platform case statement and failed on darwin systems.

Signed-off-by: Clemens Gruber <clemensgru@gmail.com>