zephyr: Add braces around single lines

The coding guidelines for mcuboot specify using braces around all
single-line constructs.  Add these to those lines missing this.
diff --git a/boot/zephyr/flash_map.c b/boot/zephyr/flash_map.c
index d417666..fca3724 100644
--- a/boot/zephyr/flash_map.c
+++ b/boot/zephyr/flash_map.c
@@ -64,11 +64,13 @@
     BOOT_LOG_DBG("area %d", id);
 
     for (i = 0; i < ARRAY_SIZE(part_map); i++) {
-        if (id == part_map[i].fa_id)
+        if (id == part_map[i].fa_id) {
             break;
+        }
     }
-    if (i == ARRAY_SIZE(part_map))
+    if (i == ARRAY_SIZE(part_map)) {
         return -1;
+    }
 
     *area = &part_map[i];
     return 0;
@@ -147,11 +149,13 @@
      * This simple layout has uniform slots, so just fill in the
      * right one.
      */
-    if (idx < FLASH_AREA_IMAGE_0 || idx > FLASH_AREA_IMAGE_SCRATCH)
+    if (idx < FLASH_AREA_IMAGE_0 || idx > FLASH_AREA_IMAGE_SCRATCH) {
         return -1;
+    }
 
-    if (*cnt < 1)
+    if (*cnt < 1) {
         return -1;
+    }
 
     switch (idx) {
     case FLASH_AREA_IMAGE_0:
diff --git a/boot/zephyr/os.c b/boot/zephyr/os.c
index 3b910d5..0a5abbd 100644
--- a/boot/zephyr/os.c
+++ b/boot/zephyr/os.c
@@ -32,8 +32,9 @@
      * calls only come from within the app. */
     size_t total = nelem * size;
     void *buf = k_malloc(total);
-    if (buf)
+    if (buf) {
         memset(buf, 0, total);
+    }
     return buf;
 }