lib-index: Give a better error message if index is readonly and log is tried to be locked.
lib-index: Give a better error message if index is readonly and log is tried to be locked.

Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot