Witness: Halliburton warned BP about blowout risk before spill