getrandom: fix indentation, add missing return statement