Low: scheduler: improve migration history validation
Instead of a simple CRM_CHECK(), functionize parsing the source and target node
names from a migration action's resource history entry. This reduces
duplication and allows us to log more helpful errors.
Also, CRM_CHECK() tries to dump core for debugging, and that's not helpful for
corrupted CIB entries.