No. 5 Auburn survives Hail Mary scare, tops Gamecocks, 42-35