The King has praised a 99-year-old D-Day veteran as a "great example to us all" as he toured a regimental museum in Aberdeen.