[PATCH 5/6] pci/p2pdma: Track pgmap references per resource, not globally