kstrto*: converting strings to integers done (hopefully) right