For option/oneof/numeric opcode, refine code to generate binary data base on the input flag/type info, not always generate the biggest format data.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@2566 c2973edb-eda0-4c78-bc6a-9341b269661f