Prevent pinmode from affecting reserved pins