drm: Add a linux/jiffies.h implementation

* timespec_to_jiffies() inspired by the OpenBSD implementation

* Other code from existing drm files
drm: Replace some custom code by wait_event routines