ocl: optimize bfmatcher by passing macros into build options

Passing constant values helps OpenCL to tune instruction paths. For example, unroll loops (#pragma unroll).
Performance gain is about 2x ~ 3x faster than before (on an AMD HD5850M GPU and an A8M APU's GPU).