radv: rework and add a helper for hashing a compute pipeline
Based on !28645 (merged)
This helper will be used for future work where we will need to get a pipeline hash from a pCreateInfo. A similar approach needs to be implemented for graphics/rt pipelines and that seems harder...