Fix encoding of ofp_table_features with zero-length name

If the name field in the record is empty, the name field in the message
would occupy 0 bytes instead of 32.  This change ensures that we use the
proper field length in all cases.