Change one more atomic size in detect.h

Change uint16_t to int for better tile atomic performance. Checked with
pahole that it doesn't increase the size of the structure.