pmpdec: fix integer overflow