usr.bin/stat: Fix error message formatting.
PR: bin/261657
(cherry picked from commit 37399d5bcf67c6d68e30a34ce2df30e0964d46d9)