RBS enters history books with record £24 bln loss