Fix Possible Null Pointer De-reference.

Inside macro :
#if defined( WBXML_ENCODER_USE_STRTBL ), encoder is dereferenced without Null check as below :
    strstbl_len = encoder->strstbl_len;

So, this may cause crash. Hence moved the Null check condition at appropriate place.