Properly convert 64bit parameters.

Introduces kore_strtonum64() for just this purpose as to
not taint kore_strtonum() too much.
Wrong comparison in kore_strtonum64(), fix.