Merge pull request #4895 from lioncash/const ControllerEmu: Add const to UpdateReferences() first reference parameter