Removed implicit ints in mkfs.c

Some functions have return type int implicitly, which is forbidden by C99. This commit corrects them.