[IA64] move fnptr definition inside #ifdef __KERNEL__