audiod: Make writer_cleanup() accept NULL pointer argument.