Fix an android compilation fail
auto merge of #5396 : ILyoan/rust/fix_rt_tls, r=graydon

Add a conditional compile option for android