pmt.h: add missing const modifier to capid_pair