Bug 738037 - Wrong order of parameters in the Sobel plugin

Get the parameters from the right PDB arguments (parameter index was
off-by-one).

(cherry picked from commit fe8cb9788ba7a8c90c2dd4bfbf7b3e99de5c6a03)