strjoin(): Fix behavior if output buffer is NULL.