When stdin is /dev/null, the default answer of 'OpamState.confirm' is 'no'

This avoids an uncaught  ```End_of_file``` exception when using ```opam``` with ```xargs```. See #1407.