Implements the --with-system-mozjs24 flag for update-workspaces.sh/premake.

I've tested this on the Ubuntu 14.04 beta with the libmozjs-24-dev package.