[SPARK-3892][SQL] Map type should have typeName

I tend to just remove this method since it's not used anywhere. Another important reason is that the `DataType` class hierarchy is now part of the public API, which should be minimized for safe :)