put BMD static LUT loading outside of blocks
fixed issue with Canon log linear to transformed

clamping incorrectly