Replace IN for ANY
Replace IN for ANY

Fixes https://github.com/OCA/OpenUpgrade/pull/2299/checks?check_run_id=1741234705#step:12:7045 from https://github.com/OCA/OpenUpgrade/pull/2299.

You cannot use `IN` to search in an `ARRAY`, which is the type of data that psycopg2 passes to postgres from a python `list`. Also, an empty `tuple` would fail too. Using `= ANY (%s)` is the safest.

@Tecnativa TT23136

OCA/openupgradelib