Phillip Williams, 54, called the police after an attempted burglary at his home but he failed to prevent his dog Lola from attacking an officer