libbpf: fix an snprintf() overflow check
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.19.2 by commit d43f85d3d0b8dc69c0e01b007dbe66df72cfcb38, it was introduced in version v5.14 by commit 67234743736a6ac31e3e74f6ec5e6d7bb3073676. For more details please see the references link.