Remove unnecessary SGObject parameter from get_parameter_gradient methods in kernel classes

and also fix warning in CGaussianShiftKernel