message: Fix apply function presence and type validation
  Fix an error in the logic that ensured the apply function existed (and was the correct function type).
diff: @@ -77,7 +77,9 @@ void ensure_apply_exported_visitor::validate( const IR::Module& m ) {
  bool found_it = false;
  for(const Export& exprt : m.exports) {
  - if(exprt.name != "apply" && exprt.kind != ObjectKind::function)
  + if(exprt.kind != ObjectKind::function)
  + continue;
  + if(exprt.name != "apply")
  continue;
  if(m.types[m.functions.getType(exprt.index).index] == FunctionType::get(ResultType::none, {ValueType::i64, ValueType::i64, ValueType::i64})) {
  found_it = true;
  