OFStateManager: fix warning on release builds

Reviewer: trivial

The variable was only used in an assertion, so the compiler warned about it on 
release builds where assertions are compiled out.