[SPARK-57831][SQL] Align Hive-metastore compatibility classification for nanosecond-precision timestamp types