Assuming you have a Pull-Up resistor on the PORTA.4 pin, i think you MUST set them to LOW yourself.

You don't need to use the LCD R/W pin, just ground it and remove the according DEFINEs


AND you have two things on PORTA. RW and RS