China dissident gets eight years for subversion ahead of congress