Adafruit pin_magic.h edit

Hello everyone. I would like to edit Adafruit_TFTLCD library magic_pin.h file. I want to make Arduino Due use pinout like this:
LCD Data Bit : 7 6 5 4 3 2 1 0
Due dig. pin : 7 6 5 4 3 2 9 8
Instead of this:
LCD Data Bit : 7 6 5 4 3 2 1 0
Due dig. pin : 40 39 38 37 36 35 34 33
How can I do this? Any help would be appreciated.