[PATCH 3/7] qemuMigrationParamsFromJSON: Unify return value handling with other functions