Normalizes deprecation notice messages.