[Pre] test_ofctl: Change to use new API of OFPMatch

Fix test method of match, because ofctl_v1_[23] change
to use new API of OFPMatch.

MEMO:
When lib.ofctl_v1_[23].match_to_str change to new API,
this patch is required some modifications.

  e.g.) Reduce redundant code.
        Following code is required only when using the old API.
          203         buf = bytearray()
          204         match.serialize(buf, 0)
          205         match = match.__class__.parser(str(buf), 0)

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>