Fix for boot_read_swap_state_by_id to close flash area on errors
Fix for boot_read_swap_state_by_id to close flash area on errors

tamban01/mcuboot,runtimeco/mcuboot,ATmobica/mcuboot,utzig/mcuboot,tamban01/mcuboot,utzig/mcuboot,tamban01/mcuboot,runtimeco/mcuboot,utzig/mcuboot,ATmobica/mcuboot,tamban01/mcuboot,tamban01/mcuboot,ATmobica/mcuboot,ATmobica/mcuboot,utzig/mcuboot,runtimeco/mcuboot,runtimeco/mcuboot,runtimeco/mcuboot,utzig/mcuboot,ATmobica/mcuboot