Norwich City arrested a run of four league defeats as Jonny Howson's goal earned a scrappy victory over Swansea.