BUG: fitpack: avoid a memory error in splev(x, tck, der=k)

for x < t[0], splev(..., der=k) produces garbage or crashes
because of a memory error.

Fixes gh-2188

(cherry picked from commit 4a042f4e81c74255546150ee720496aebc2126ef)