[PATCH 5.15 400/644] RDMA/core: reduce stack using in nldev_stat_get_doit()