[tools] squashfs4: link statically