samples: make pidfd-metadata fail gracefully on older kernels