envsetup: fix 'mmm mka'

Change-Id: Ia5f3fb4813585df21c27ce0035fa3f2b7d6b73e7
Make the kernel image format parametric instead of a chain of if/elses

Change-Id: I54bfcdecb8647f7bcf744e72b2de19fcf4e4e7ac