[avalanche] Don't assume shared_ptr for ProofRef
Summary: This updates the places where the code assumes a shared pointer and assign nullptr. There is no change in behavior.
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D11462