Dark-ages reionization and galaxy-formation simulation – VII. The sizes of high-redshift galaxies