fix regression issue on static calls

mod_taskchain::__call magic method was never called on static calls
replace mod_taskchain:: by $this->TC->

Signed-off-by:Eric Villard <dev@eviweb.fr>

issue described here : https://moodle.org/mod/forum/discuss.php?d=222789#p1013708