A malicious person will always be able to find a public space with lots of people. A public square, schoolyard, mall, busy street, library or whatever.
Besides, to defend against suicide bombings, the dogs would have to encounter everyone before they enter the airport checkin area, otherwise the bomber could just detonate once the dog start barking (or whatever they do to mark that they've found something).