[PATCH 4.9 183/310] RDMA/hfi1: fix array termination by appending NULL to attr array