On the Shapes and Structures of High-redshift Compact Galaxies