Report a warning when dropping outdated debug info metadata.

Use DiagnosticInfo to emit the warning.