PORTB is already define but leads you to Register addr 6... wich is unimplemented on this PIC

PORTA is assign to register addr 5, wich is GPIO

in the above, if you replace GPIO by PORTA, it will work.

Not a good practice but...