updater: Fix inconsistent code.

Commit 81e54eddd4132895d70ab8b2307c693311799e05 introduced the
inconsistency when resolving the merge conflict into master.

Test: mmma bootable/recovery
Change-Id: I43b7ec76a7eee000708cdca60bd372173e1fac2f
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 46de9ad..7327c52 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -105,7 +105,8 @@
         return 4;
     }
 
-    std::string script(script_entry.uncompressed_length, '\0');
+    std::string script;
+    script.resize(script_entry.uncompressed_length);
     int extract_err = ExtractToMemory(za, &script_entry, reinterpret_cast<uint8_t*>(&script[0]),
                                       script_entry.uncompressed_length);
     if (extract_err != 0) {
@@ -209,5 +210,6 @@
         CloseArchive(updater_info.package_zip);
     }
     sysReleaseMap(&map);
+
     return 0;
 }