encoding: Fix bug in ndn_encodeTlvControlParameters: Need to encode the given flags, not the default value.