createdb: For migration, copy groups before users.

Signed-off-by: Martin Stone <martin@d7415.co.uk>