iotests/testrunner.py: move updating last_elapsed to run_tests