Split debug_loc and debug_loc.dwo emission into two separate functions