Added concurrency fix on AllocAppender

With regards to https://github.com/rejectedsoftware/vibe.d/issues/446#issuecomment-31411060