Partial revert to #3116

Partial revert to #3116.

1. Revert useless whitespace changes.
2. Revert useless handling of ``immutable`` and ``shared`` types.
3. Revert erroneous mangling of D ``shared`` as C++ ``volatile``
4. Revert removing mangling of vendor extended types with no explanation.