gen_unicode_ctype.py: reduce number of statements in output_tables() function

Because pylintrc of glibc accepts only a maximum of
50 statements per function.
gen_unicode_ctype.py: reduce number of statements in output_tables() further

Because pylintrc of glibc accepts only a maximum of
50 statements per function.

Make output_charclass() and output_charmap() print a newline
at the end always instead of printing the newlines in output_tables().
A matter of taste, I think it really doesn’t matter. But if
it makes pylintrc of glibc happy …