Expose Halide's target selection and make use of it in the tests.

Fixes a bug where simd_op_check tests sse ops instead of avx ops.
Made local laplacian use get_target instead of sniffing HL_TARGET
Distinguish between debug and non-debug ptx targets.