lib: tst_kvercmp: Move defs to separate header

* Move definitions to separate header
  (so that we can reuse them in new library)

* Remove nonexisting function prototype tst_getkver()

* Add tst_parse_kver() (to be used later in newlib)

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
3 files changed