Raw.xs: strlen() coredumps on Solaris with a NULL pointer