Merge pull request #12811 from JosJuice/ppcanalyst-refactor-mtspr PPCAnalyst: Refactor mtspr handling code