DRIVERS: Fix build warning in genlock.c when GENLOCK_MISCDEVICE is disabled

- warning: 'genlock_get_fd' defined but not used [-Wunused-function]
  static int genlock_get_fd(struct genlock *lock)
             ^