pci/shpc: fix signed integer overflow