It looks like phpMyAdmin can do the same thing, using the export tool. Just export the results from the queries above:
I've not tested the output results from phpMyAdmin, but just make sure it contains only INSERT queries and nothing about dropping, updating or deleting. You'll need to make sure it doesn't try to re-create the table or alter any other data.
I've just tested this quickly now, and you'll need to use the "export" button below the selected data, rather than above. Then, choose the following "custom" options:
Dump all rows
View output as text
Format-specific options > data
Then, you should end up with some SQL beginning like this:
INSERT INTO `xf_thread` (`thread_id`, `node_id`, `title........
Do the same for both tables, double check it looks ok, then run that on the current DB.