Hi there!
Yeah, this has been reported in other situations where some UV based SOPs output UV.z values.
There is a toggle on Rasterize Setup and Bake Geometry Textures for 'Remove UV Z Values', this toggle is ON by default in Houdini 22, but off by default in H21, as to not break backwards compatibility.
This should help with your bakes which have UV Z values.

Hope this helps!