Pupils in a Derry primary school have had to move out of their building due to concerns over the structural integrity of its roof.