Fixed a compile problem nms.cpp:108:85: error: no match for ternary ‘ope...

...rator?:’

The problem occurs in Linux Mint 14, gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1), OpenCV 2.3.1-11ubuntu2.