mds: apply cap mask in choose_lock_state
mds: apply cap mask in choose_lock_state

Otherwise we get CAP_GWR and other bits outside of simplelock
mask.

ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph