Fix build related to task::spawn_* functions deletion.

Broken since commit: https://github.com/mozilla/rust/commit/acca9e3834842ee8d8104abe9b8b9bb88861793c