XWIKI-8813: Liquibase does properly determine the schema in multiwiki migration (except MySQL)

(cherry-picked from 5370d7e252a4ad76bc50657ce2cf2de1b7859c6f)