newdb: Optimize setting the same value as before for author data

Do not mark books as dirty if the same value as before is set for
author_sort or author_link.