Move core::task::local_data to core::local_data
auto merge of #6329 : sonwow/rust/issue-6306, r=sanxiyn

Fix for #6306