The avr/io.h file is for AVR architectures (Arduino boards). The reason why you get those errors is because Edison has a different architecture which is not compatible with the libraries you are using. Even though you copy the files from another IDE version, the libraries won't work. You should use a library written for Edison, or a library that doesn't have architecture dependencies, otherwise it won't work on Edison.
Fortunately, there is a TFT library shared by other users which is Edison compatible. You might find it interesting. The following threads discuss the use of this library, I recommend you to check them:
- Support for the Adafruit 2.8" TFT display for Arduino Edison
- Arduino TFT LCD screen compatibility
- Looking for Edison compatible TFT display
I hope you find them useful.