fsck_msdos: Static-ify

 * Split out main() and libraryify so we can use in recovery.

Change-Id: I1b35d7f52f536145c3c465030391f86100fa2ac0