fix adding primary key during table alteration in MySQL
Merge branch 'DBAL-400' into 2.4