Fix reference to array property or method in return buffer allocation expression