Fix #71: BufferCache race

Do you agree that the buffer.h change is ABI-compatible? It adds symbols
to the dso, and old code will get the wrong inlined isFree() impl.