cmake: Enable -Wfloat-equal warnings

Floating point comparisons, primarily in test cases, updated to either
use integer comparisons or range comparisons (i.e. not equality).