tests: Silence a compiler warning

Do #include <string.h> in tests/unit/test_ringbuffer.c, for the sake of
basename(), to silence a compiler warning.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>