readspline: handle local file:// URLs

PCManFM passes file:// URIs as parameters when opening directly from the explorer. Decode the URL and treat it as a local file.

[Diff without whitespace](https://github.com/fontforge/fontforge/pull/1494/files?w=1)

Closes #1452.

r? @frank-trampe
It was triggering an invalid pointer-free and the end of the function. The logic is quite obfuscated so I thought updating this value would have it treated like regular paths.