kernel/dup: Correct dup{,2}()'s fd params to int in the syscall glue.