fs: add kern_select() helper; remove in-kernel call to sys_select()