Compile fix: disable migration logic on !CONFIG_SMP

It makes no sense to compile migration checks if migration is
impossible.