zephyr: Use flash_img_init_id instead of flash_img_init

Within mcumgr Zephyr port, the img_mgmt_find_best_area_id is used to
get information on the update flash ID, yet the call to the flash_img_init
selects such flash ID via value hardcoded during compilation. This may
lead to situation where the mcumgr library and flash_img_init may select
different partition for update.
This commit replaces call to flash_img_init with flash_img_init_id, which
takes flash area ID as a parameter, and uses img_mgmt_find_best_area_id
to get the ID.
This approach is better as img_mgmt_find_best_area_id, while searching for
empty image, will also check its boot status (pending, test, etc).

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
diff --git a/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c b/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
index ef72c1e..777aad5 100644
--- a/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
+++ b/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
@@ -292,7 +292,7 @@
 			}
 		}
 #endif
-		rc = flash_img_init(ctx);
+		rc = flash_img_init_id(ctx, img_mgmt_find_best_area_id());
 
 		if (rc != 0) {
 			return MGMT_ERR_EUNKNOWN;