Utility: don't use deprecated API in NaClStreamBuffer.