Fix RequireJSHelper.php engine support check

First check if the engine supports the $this->requireJsSrc file, and only then check if it exists.