Freeze fmt library at version 10.2.1 and add changes that prepare LAMMPS for transition to std::format