fix files not containing the version as the first comment

commit 9971d72b3eec3b8709ab52f542277571ef3380a4 upstream breaks old file
format.

files like:

# keyboard description, Thinkpad x220t
N: AT Translated Set 2 keyboard
I: 0011 0001 0001 ab54
P: 00 00 00 00 00 00 00 00
B: <snipped>

are broken. The call "fscanf(fp, "# EVEMU %hd.%hd\n", &major, &minor)"
consumes "# " and the call to skip_comment_block() does not work anymore.

One solution is to reset the file descriptor once the attempt to read the
version has been done.

fixes BZ #62512

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>