sbd: add support to compile against new kernel 3.12 and plus

Signed-off-by: Liu Yuan <namei.unix@gmail.com>