XWIKI-9716: Error while migrating SearchSuggestConfig page from 4.1.4 to 5.2.1 with DW
* Delete the old property value before saving the new value with a different type.

(cherry picked from commit ea95845866a07d76a70ed2f3a0a23e5336322b8e)