ramips: backport series of patches that ensure GCRs of other CPUs are accessed properly