hwloc_obj_attr_snprintf: don't mix local and total memory when printing verbose attributes

(cherry picked from commit 2981c1f3635994fdeb5d09fa1305b00aca8a0806)