Fixed typo in type name
Fixed condition for error handling
Changed TGpioLinuxPin.WaitForInterrupt file opening mode