Fix OOB access in CM_EdgePlaneNum without erroring in CM_GridPlane

I changed warning to error in 9d74227559d46b85d0c43d395cd280d3de7ae8f4,
which broke JA's mp/ctf4 map and probably others.