* spu/jsre.h: Add JSRE_GETCWD. * spu/getcwd.c: New file, implement getcwd with help from an assist call. * spu/Makefile.in: Add getcwd.