Make antivirus sha256 metadata computation error safe

Due to DAC on Linux, the irma probe application may not be able to read
antivirus database metadata. This fix makes the sha256 calculation for an
antivirus database error safe. If the calculation failed, None is set in the
corresponding field.