James Cameron congratulates Avengers: Endgame for besting Avatar