Clunes, William, active 1803-1855, Major 50th Foot