Fix Azure compatibility issue around stdin in Gruntfile.js

This is a small fix to an Azure deployment compatibility issue, as discussed in https://github.com/projectkudu/kudu/issues/885.