C++ API: Correct the purge Direction and ModemCtl enumerations definitions