Evolution of the Spin Hall Magnetoresistance in Cr$_2$O$_3$/Pt bilayers close to the N\'eel temperature