[avalanche] Add missing const to getWinners
Summary: getWinners should never modify the cache
Test Plan:
ninja check-avalanche
Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien
Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D16779