Rename "buffer" to "mongo_buffer".

The original declaration put "buffer" in the global scope, but we also used
"buffer" as a variable name. We can't really do that (says GCC/ANSI C).

Conflicts:
	cursor_shared.c