Firefighters rescue dog that had been trapped between walls for 5 days