The number of OPPs was the number of children of the OPP table, but
a child without opp-hz is skipped while parsing (opp-hz is a required
property) and the index was still incremented for it. The matching
entry of the array, which is not zeroed, was then left uninitialised
and used as a valid OPP.
Only count the nodes that have opp-hz so the number of entries
matches the ones that are parsed.
Fixes: 41a76289e601 ("cpufreq_dt: Add operating-points-v2 support")