Qatar officials say rainbow flags may be confiscated from fans at the World Cup - to "protect them".