liblock: call lockdep_set_thread in testing code

This makes lockdep output prettier.

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