Mistake using util_scanf_int instead of util_sscanf_int

Fixed two occurences, and corrected one of them to pass int as reference.