Layard, John Thomas, Lieutenant-General; Lieutenant Governor of Malta