Masks select only to Edge Triggered events

This fixes a bug where a pin state change triggered a lot of interrupt changes, probably from other select event types.