chore: improve types in acvm-backend-barretenberg
#2516
Merged
acvm-backend-barretenberg
#2516