Fix lerp case for 32-bit values and float weight.

Fix one lerp test case to avoid overflow with 16-bit int values and
float weight.

Move optimization C++ compiler flag into a Makefile variable to make
it easier to compile debugable Halide. (Don't use flag for runtimes as
it causes errors.)