Councils are made aware of "potential issues" with certain roof types after a collapse at a school in Aberdeenshire.