move pmem*_check_version functions