Qatar amends anti-terror law amid Gulf crisis