fixed xerces xml base64 decode, by typecasting length correctly