Axel Gabriel Leijonhufvud — Swedish baron, officer and freemaison