Refactor: libcrmcommon: get next higher schema as schema in update_validation()
... instead of an index, which will allow the code to be simplified.
next is always lpc + 1, so replace the
(next > highest_version_schema->schema_index) test with
(lpc == highest_version_schema->schema_index) which is clearer.