Add missing function parameter.
A function parameter got added in r285356, meaning that the call to kern_dup() needs to be patched up.