Currently the type based costmodel analysis returns an invalid instruction cost
for masked scatter/gather intrinsics. This patch fixes this so that the costmodel
now returns a valid instruction cost.
There was no way to test this functionality in the cost-model tests,
hence a new flag is added to allow using a type only cost analysis