The previous fix that was part of the bcc-0.30.0 rebase didn't
actually do anything but print a warning. Actually fix the issue this
time.
Also add the python3-elftools dependency needed for bashreadline.
Resolves: RHEL-28769
Resolves: RHEL-36583
CVE CVE-2024-2314