Refactor fetching file/line info from DWARFContext to simplify the