Gpe fixes

This branch contains proposed fixes for ACPICA bugzilla 1100/1101/1102.