### Elasticsearch Version

8.11.0

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

MacOS

### Problem Description

The following ESQL statement reports and unhandled error:

```
from index | eval round([1.2])
```

Returns the rror:
```
class_cast_exception - class java.util.ImmutableCollections$ListN cannot be cast to class java.lang.Number (java.util.ImmutableCollections$ListN and java.lang.Number are in module java.base of loader 'bootstrap')
```

### Steps to Reproduce

See above

### Logs (if relevant)

_No response_
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/math/RoundTests.java
"RoundDoubleEvaluator[val=Attribute[channel=0], decimals=CastIntToLongEvaluator[v=Attribute[channel=1]]]",
                DataTypes.DOUBLE,
                equalTo(Maths.round(number, precision))
            );
        })));
    }
    public void testExamples() {
        assertEquals(123, process(123));
        assertEquals(123, process(123, randomIntBetween(0, 1024)));
        assertEquals(120, process(123, -1));
        assertEquals(123.5, process(123.45, 1));
        assertEquals(123.0, process(123.45, 0));
        assertEquals(123.0, process(123.45));
        assertEquals(123L, process(123L, 0));
        assertEquals(123L, process(123L, 5));
        assertEquals(120L, process(123L, -1));
        assertEquals(100L, process(123L, -2));
        assertEquals(0L, process(123L, -3));
        assertEquals(0L, process(123L, -100));
        assertEquals(1000L, process(999L, -1));
        assertEquals(1000.0, process(999.0, -1));
        assertEquals(130L, process(125L, -1));
        assertEquals(12400L, process(12350L, -2));
        assertEquals(12400.0, process(12350.0, -2));
        assertEquals(12300.0, process(12349.0, -2));
        assertEquals(-12300L, process(-12349L, -2));
        assertEquals(-12400L, process(-12350L, -2));
        assertEquals(-12400.0, process(-12350.0, -2));
        assertEquals(-100L, process(-123L, -2));
        assertEquals(-120.0, process(-123.45, -1));