Fix win32 fs error on php 8.0.7+ and 7.4.20+
@@ -1777,7 +1777,7 @@ static php_stream *swow_plain_files_dir_opener(php_stream_wrapper *wrapper, cons
cat_dir_t * dir = swow_virtual_opendir(path);
#ifdef PHP_WIN32
if (!dir) {
-# if PHP_VERSION_ID >= 80100
+# if PHP_VERSION_ID >= 80007 || (PHP_VERSION_ID < 80000 && PHP_VERSION_ID >= 70420)
php_win32_docref1_from_error(GetLastError(), path);
# else
php_win32_docref2_from_error(GetLastError(), path, path);
