Do not call lseek() with invalid whence value