Add pin change interrupt infrastructure

Each PORT peripheral has a single interrupt which can be used to detect
changes on any of that peripheral's pins. Because of this, it is
necessary to multiplex pin change interrupt handling. This patch adds
the infrastructure for this.