fix build with hermes on windows (#26556)
fix build with hermes on windows (#26556)

Summary:
On the Windows platform, with hermes-engine enabled, the assembly crashes with an error:
![image](https://user-images.githubusercontent.com/8634793/65568495-ab11d980-df8c-11e9-83a0-2a2d26447860.png)
The problem lies in calling hermes command without the leading arguments `"cmd", "/c"` ([react.gradle, line: 152](https://github.com/facebook/react-native/blob/e028ac7af2d5b48860f01055f3bbacf91f6b6956/react.gradle#L152) )

## Changelog

[General] [Fixed] - Added a platform check and running commandLine with the corresponding arguments
Pull Request resolved: https://github.com/facebook/react-native/pull/26556

Test Plan:
Under Windows, enable hermes-engine in _build.gradle_ and run the `gradlew assembleRelease` or `gradlew bundleRelease` command
Also check assembly on other available platforms

Differential Revision: D17587023

Pulled By: cpojer

fbshipit-source-id: bab10213b23fac5ab6a46ac4929759dcd43e39c2

facebook/react-native,facebook/react-native,hoangpham95/react-native,janicduplessis/react-native,javache/react-native,exponentjs/react-native,facebook/react-native,hoangpham95/react-native,hammerandchisel/react-native,myntra/react-native,hammerandchisel/react-native,janicduplessis/react-native,exponent/react-native,myntra/react-native,myntra/react-native,myntra/react-native,pandiaraj44/react-native,janicduplessis/react-native,javache/react-native,hoangpham95/react-native,myntra/react-native,pandiaraj44/react-native,myntra/react-native,exponent/react-native,hoangpham95/react-native,janicduplessis/react-native,janicduplessis/react-native,janicduplessis/react-native,javache/react-native,pandiaraj44/react-native,hoangpham95/react-native,arthuralee/react-native,hoangpham95/react-native,javache/react-native,exponent/react-native,exponentjs/react-native,exponentjs/react-native,janicduplessis/react-native,javache/react-native,facebook/react-native,myntra/react-native,hoangpham95/react-native,hammerandchisel/react-native,myntra/react-native,arthuralee/react-native,javache/react-native,hammerandchisel/react-native,exponent/react-native,pandiaraj44/react-native,exponent/react-native,facebook/react-native,facebook/react-native,exponentjs/react-native,pandiaraj44/react-native,exponentjs/react-native,facebook/react-native,hammerandchisel/react-native,hoangpham95/react-native,hammerandchisel/react-native,arthuralee/react-native,javache/react-native,facebook/react-native,pandiaraj44/react-native,hammerandchisel/react-native,javache/react-native,hammerandchisel/react-native,pandiaraj44/react-native,pandiaraj44/react-native,myntra/react-native,exponent/react-native,exponent/react-native,exponent/react-native,exponentjs/react-native,janicduplessis/react-native,facebook/react-native,javache/react-native,exponentjs/react-native,arthuralee/react-native,arthuralee/react-native,exponentjs/react-native