Unidentified gunmen have shot and killed a clergyman outside a mosque in a predominantly Shia neighborhood in the northeastern Iraqi city of Mosul.