utils: make get_verilator_root works with python3.3

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>