Drop old functionality which maintained database compatibility with Synapse versions before 1.31.