[PATCH kernel-4.19 224/286] intel_th: Rework resource passing between glue layers and core