rand: Small fix in parameter name

Documentation didn't match with parameter name.
Changes name of parameter in docs and function to 'amount'.
auto merge of #15246 : Sawyer47/rust/rand-doc-fix, r=huonw

Documentation didn't match with parameter name.
Changes name of parameter in docs and function to 'amount'.