liblock: move unrelated stuff out of our lockdep header

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>