Fix build warning in test/format:

../../../test/format/t.c: In function ‘startup’:
../../../test/format/t.c:204: warning: implicit declaration of function
‘mkdir’
../../../test/format/t.c:204: warning: nested extern declaration of
‘mkdir’