s390/smp: consolidate locking for smp_rescan()