Update TBGRouting.class.php

With PHP 5.5.9, Bug Genie throws an error due to usage of preg_replace with deprecated option /e at line 472. Switching to preg_replace_callback is recommended.