elfctl: remove memory leak
CID: 1420356 Reported by: Coverity Scan Sponsored by: The FreeBSD Foundation