radeonsi: make pm4 state generation for shaders independent of the context