Add the pmax-specific portion of trap handler, pmax/pmax_trap.c, which was split off from pmax/trap.c.