[TIMOB-18152] (3_5_X) Remove call to TiCheckScriptSyntax

Cherry Pick PR #6464 into 3_5_X
Fixes [TIMOB-18152](https://jira.appcelerator.org/browse/TIMOB-18152)