Three decades before ‘Dogman,’ the Buena Vista buddy-cop movie paired Tom Hanks with a French bull mastiff. ‘It was the hardest I’ve ever worked,’ he says.