The spectrum subgraph of the annihilating-ideal graph of a commutative ring