[GPIO] Fix PiFace GPIO input and add auto-detection of PiFace