add empty-check to CirculerBuffer_get().