dlm: Split lock mode and flag constants into a sharable header.