vmmeter(): Fix detection of the named swap objects
(cherry picked from commit 0b8643eaf6e787bac9c33c2ff03d5524cdfd7239)