cleanup fmt::format for std::format

Update the code to use std::format since gcc13 supports it now. Also
cleaned up some unused headers.

Change-Id: Ief2ad4df9e8b8227168f4f98213da8b3978fda03
Signed-off-by: Willy Tu <wltu@google.com>
7 files changed