[Console] added type hinting for array to setAliases method

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

This patch would improve feedback when passing an invalid alias to setAliases method:

e.g.

`Argument 1 passed to Symfony\Component\Console\Command\Command::setAliases() must be of the type array, string given,` [...]

instead of 
 
`Invalid argument supplied for foreach()`
I don't see why you would throw an the exception here, "Add type hint to an argument" is forbidden indeed but doing it inside the method should be just fine, no ?
Plus, the [doc](http://symfony.com/doc/current/contributing/code/bc.html#id34) says:
> A type hint may only be added if passing a value with a different type previously generated a fatal error.