[llvm] Use static_assert on getEmptyKey and getTombstoneKey (NFC) (#167167)
Note that DenseMapInfo<unsigned>::getEmptyKey() and getTombstoneKey()
are constexpr.
This patch removes assertion messages as they don't state any more
than what's expressed in the assertion condition.
Identified with misc-static-assert.