fixes the setting of the pullup/pulldown register for pins >= 8