[tools] genext2fs: link statically