[PATCH 5.10 022/104] RDMA/uverbs: Fix a NULL vs IS_ERR() bug