[3.15] community/composer: security upgrade to 2.2.12 - CVE-2022-24828
Backport of !33188 (merged) https://github.com/composer/composer/releases/tag/2.2.12
I have to bump minor as 2.2 is LTS https://blog.packagist.com/composer-2-2/
Edited by Andy Postnikov