Accept all integers for as dimension arguments in rand and randn

This is similar to what the `Array` constructor allows for. It came up when working with a library returning `Int32`s values for the the size of a random matrix.