Fix TASKPTR's definition to match actual function signatures. am: b46fe8b803
am: bd2ae88c51

Change-Id: I3a27e2576d7b544bcaaa2bd2cdbe630ad2d4c054