[COOK-1863] Use more elaborate version test for the deprecation warning on winsw_service, same as in 179e2b2