refactor: remove mkRecursorInfoForKernelRec

it seems to be unused, arguably even for kernel recursors their type
should be usable with `mkRecursorInfo`, and removing this will help
understand the impact of #5679.
1 file changed