vkd3d-shader/hlsl: Implement countbits, firstbitlow, and firstbithigh.
I put all of these in the same commit because they are all tested in the same test. Please let me know if I should split out the test into several tests and implement them one at a time.