Sweden has said it was working to prevent the execution of three of its citizens sentenced to death in Iraq over a shooting there.