[PATCH OLK-6.6 V4 6/8] PCI/P2PDMA: avoid overflow in resource size validation