A police officer has told a court in Pretoria how a witness heard gun shots, screaming and then more shots from the home of Oscar Pistorius.