gdb: Add soname to build-id mapping for core files