Anthony Albanese has marked the 50th anniversary of the dismissal of the Whitlam government by describing it as a partisan ambush.