Abort attachment open early if attachment count 0
* src/mail.cpp (get_attachment): Abort earlier if attachment count is zero.