Add missing return functions in color3way and lens plugins

Detected through coverity.