[PATCH 6.16 396/570] RDMA/core: reduce stack using in nldev_stat_get_doit()