RDMA/amso1100: Fix a NULL dereference in error path