Bombings killed at least seven people in Baghdad on Wednesday as US Secretary of State John Kerry visited the city for talks on combatting jihadists, officials said.