ConsoleLogger::LogWarning null check

There are calls to `LogWarning` in the `MonoGame.Framework.Content.Pipeline.Windows` project passing `null` as `contentIdentity`.

Looking at this I would judge that `null` is valid so I added a null check in the conditional to avoid adding the non-existent `ContentIdentity`.