Sir Charles Hastings, 1st Baronet — British Army officer