Add --dump-bitcode option to dump bitcode when building the system image