Degrees of quantum function algebras at roots of 1