helper method for finding first LUT line in file
Cube file can r/w LUTs with any input lower/upper bound