[automerger skipped] implement support for functions which may optionally fail to load am: 2464ddb0df -s ours

am skip reason: Change-Id I50b292c061b05fc8f4b4b8574f128345c45c78db with SHA-1 aa295c8355 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bpf/+/11905498

Change-Id: Icdc2f08130ecfd8bbfbf8de560e0dc7e06a28e2b