Walter Hamada testified that Heard was almost booted from the sequel, but that Johnny Depp's abuse allegations were not