Windows and C89 fixes for Perl\Encoder\srl_encoder.c