Roosters deny Gold Coast in NRL thriller