selftest: Add targetdir and tdbrestore parameters to undump.sh