[DDMD] Use ternary instead of pointer arithmetic for C++ mangling prefix