Fix potential arithmetic overflow in the linker's plugin handling code. PR 29101 * libdep_plugin.c (get_libdeps): Check for overflow when computing amount of memory to allocate.