D: Fix preproc_constants/preproc_constants_c test cases.
D: Fix class/method name ambiguity in test-suite/c_delete.i.

There might be other cases where this happens when $dclassname
is used for code emitted into the proxy class itself, but so
far, there are none in the test suite or any bug reports.