moved some variables to __xdata to get closer to being able to
compile again.
pushed more variables to __xdata from __data so that we now
no longer run out of OSEG at compile.
one compiler error remains to be fixed.
make golay_encode() header and function definition agree precisely.
tools/code_check.py still complains that there is no code proto
for it.
fixed function formatting for golay_encode() function so that
tools/check_code.py can parse it.