Fixed allocation in WorkItem::getConstant() for 3-element vectors.