[PATCH 6.15 365/515] RDMA/core: reduce stack using in nldev_stat_get_doit()