build: fix gcc warning requiring Wformat