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.15.61 by commit cbfcc7c4cc61c6c38f070f32523b081c571294a0, it was introduced in version v5.14 by commit 67234743736a6ac31e3e74f6ec5e6d7bb3073676. For more details please see the references link.