[PATCH 5.12 090/242] drm/amdkfd: fix circular locking on get_wave_state