s4-smbtorture: put HKLM current_version test into an own function.