Retains the `stmt_expr_attributes` feature requirement for attributes on expressions. closes #41475 cc #38356