Zaslat SMS: A search for correlations of TeV gamma rays with ultra-high-energy cosmic rays