intel/perf: move is_query_ready to gen_perf