Bug fixes and small extensions for ScummC

Not sure whether you're still interested in ScummC ... but I recently wanted to compile it again, and had to discover that it does not work anymore with the latest version of bison. So I fixed it ... and also added the patches from James Urquhart and some additional fixes (e.g. about compiler warnings) to it.