Use libbfd to retrieve file names and line numbers.

- This also fixes the issues with finding symbols for static functions.
- The name of the module is also now recorded to provide more useful
information in cases where source files and line numbers are
unavailable.