Maclellan, Alexander, active 1758-1779, Lieutenant