[WebAssembly][lld] Fix crash when applying relocations to debug sections