Prospective build fix for unsafe usage of getCustomDiagID()

This now requires a compile-time constant string so let's build proper
diagnostic IDs and pass through the inputs as arguments.

Tracks clang changes in r200132.