fix integer overflows in os_cfar and find_max_peak