linux/time.h: Add a few Linux timespec functions

Obtained-from: OpenBSD
drm/i915: Add the I915_GEM_WAIT ioctl

It can be used to implement the GL_ARB_sync OpenGL extension.