aco: Fix build error with std::max on GCC 12
Fix the following compilation error:
aco_util.h:427: undefined reference to `aco::monotonic_buffer_resource::minimum_size'
This is because std::max
takes its parameters by reference, and GCC is stupid.