move iterate_on_dir() from e2fsprogs to libbb

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
4 files changed