[PATCH 5.10 30/68] bpf: Add extra path pointer check to d_path helper