[PATCH 3/3] libelf: Fix possible unbounded stack usage in load_shdr_wrlock.