XWIKI-8671: Failing migration on Oracle 10g from 3.5 to 4.4

(cherry-picked from 3c65163f02c69fc8a3a59810d3e4bcfb122f213b)