input_cl: fix GCC warning

Currently with -Wall, GCC is throwing the following warning:

warning: catching polymorphic type ‘class cl::Error’ by value
[-Wcatch-value=]. Fix this by catching by reference instead.
1 file changed