Added (back) correct behavior for NULL ptrs in CharToOem funcs.