[PATCH 6.18 258/614] perf tools: Fix missing feature check for inherit + SAMPLE_READ