[PATCH 6.18 237/312] RDMA/core: Check for the presence of LS_NLA_TYPE_DGID correctly