Fix Issue 3022 - scope x = new Foo; does not allocate on stack if Foo has allocator

If new only has one argument, then it must be the size.
Merge pull request #3968 from yebblies/issue3022

Issue 3022 - scope x = new Foo; does not allocate on stack if Foo has allocator