Fix upgrade of PubSub mnesia tables from older ejabberd version.