[PATCH 4.14 17/54] RDMA/uverbs: Protect from command mask overflow