[PATCH 4.14 051/105] misc: pci_endpoint_test: Prevent some integer overflows