Add rand! method for AbstractRNG and AbstractArray types

Several functions invoke

    rand!(r::AbstractRNG, A::AbstractArray)

causing an error, since that method doesn't exist (issue #7643).
This commit provides the missing method and closes #7643.