Refactor irep debug info dumping.

* The filename table creation is reduced to two time to once like `lv`.
* Possible unnecessary filenames listing is removed in filename table creation.