Silence compiler warning about comparison of integers with different sign.

Refs #1777.
Get the refinement state of elements in the non-displaced mesh.