ofproto: Inline trivial functions.