Add Bayer conversion function that uses preallocated output
Clarify parameter name
Make yuvToRgb() to work with any color type
Fix missing optional flag

Input socket wasn't made optional if the typecasted version of a
getter function was used.