When we allocate a variable using a MOLD argument, the function that
applies the type of the MOLD argument first checks to see if the
variable is already allocated by looking at its descriptor. But in the
case of allocating a scalar, the descriptor has not yet been created and
the associated memory was uninitialized. This update fixes that.
Note that there's already a test for allocations, but it uses the argument
"use-alloc-runtime", which causes different code to be generated. So I
added a new test.