Gets the SNES instance associated with the line search. Having an associated SNES is necessary because most line search implementations must be able to evaluate the function using SNESComputeFunction() for the associated SNES. This routine is used in the line search implementations when one must get this associated SNES instance.