add new function to wiring_digital.c

i want to do it like this

out = portOutputRegister(port);
if (val == LOW) *out &= ~bit;
      else *out |= bit;

that is why i need to add new function