JAMES-3961 Upgrade mockito: 5.2.0 -> 5.10.0

This allows mockito to run with Java 21.
mockito-inline was unused btw.
2 files changed