Set MINIGZIP and MKBOOTIMG as local variables instead of assignments

Also check that MKBOOTIMG is not empty, and don't use absolute path.

Change-Id: Idf3f056f962a3aebd16b47669e790b3cf91bcec9