Merge pull request #8532 from lioncash/shader-common-fmt VideoCommon/ShaderGenCommon: Convert helper functions over to fmt where applicable