[DebugInfo] Remove unused functions from DWARFDebugAranges and fix code style.