IB/uverbs: Do not pass struct ib_device to the write based methods