Hi,
I just had similar open drain-issues for the I2C interfaces.
According to the latest Errata for LPC176x the OD-registers only works for pins in GPIO-mode.
If the pin is used for any other function the OD-register is overridden and is only set when the interface demands it.
Regards
Mike