[ticket/13117] Correctly define auto increment columns as "NOT NULL" on mysql

Unintended change from 95ab4b3e931521ce3c56068478311f0c04f713cc

https://tracker.phpbb.com/browse/PHPBB3-13117