[AS7-6822] Swap the result of the check for the debug option in the JAVA_OPT in the bat file

The check in the Windows batch script improperly checked the ```errorlevel``` value of the ```findstr```. Kept the check for the same value to keep it consistent with the rest of the script, but swapped the resulting actions.