Fix bug with mixed types in shape of random sample

NEWS.txt:
* Fix bug when building symbolic random variables with a mix of symbolic and numeric scalar in the "size" parameter. Reported by Wu Zhen Zhou.