added stdbuf.c

this is pulled (entirely unmodified) from FreeBSD 9.2-RELEASE.