Fix sigstate code for multiple signatures
* src/mail.cpp (Mail::update_sigstate): Fix signature selection code.
Previously the first signature was selected always even if this
signature did not have the uid belonging to the sender. This
might be considered a security problem but was thankfully not
released yet.
Thanks to Daniel Vrátil <dvratil@kdab.com> for seeing this issue.