OFStateManager: pass cxn_id to gentable operations

Reviewer: @poolakiran 

The cxn_id is needed for barrier blocking.

Backwards compatibility is maintained since this adds new function pointers
that are used in preference to the old ones. The old function pointers are now
deprecated and will be removed when all callers are switched over.