nptl: remove sysdep-cancel ASM macros, convert to C