Compiler: make the sourcemap URL relative to the JavaScript file
Use just the basename of the sourcemap file, removing any directory
provided by the -o option.
(fixes #245)