Added basic implementation of the APATH bits of the GIF_STAT register.
Merge remote-tracking branch 'upstream/master'