Upgrade metrics-lib to Debian buster libraries
I already updated most libraries in metrics-base and metrics-lib master to Debian buster for #31172 (moved) to fix the Jenkins build. We should review those changes anyway, which is why I'm creating this ticket. Commits are:
We'll also have to resolve an issue with the latest Checkstyle version 8.15 ("Unable to create Root Module"). I don't really know how to start debugging this, so I'll leave this for others for now.