[PATCH 6.17 218/507] perf tools: Fix missing feature check for inherit + SAMPLE_READ