dlm: fix locking of lockspace list in dlm_scand