[Linux] Return empty strings for empty string series

Returning a NULL is confusing, and usually needs to be handled as a
special case

This fixes https://github.com/zsx/r3/issues/4
[Linux] Fix the type declaration

with some space cleanup
[Linux] Fix compilation warnings