cuttlefish: support bootconfig parameters

Support the bootconfig image from the boot image. Version 4 of the
vendor bootimage contains bootconfig parameters. These parameters are
placed at the end of the initramfs followed by bootconfig trailer.

Support adding run-time parameters to bootconfig. This is done with a
helper function in libxbc that adds the string of parameters followed by
the bootconfig trailer.

Test: boot cuttlefish with bootconfig parameters in the boot image and
parameters being added at run time. Check /proc/bootconfig to make sure
they all show up.
Bug: 173815685

Change-Id: I194449880dd0dcce98c5f2687dbcf777a27e0e0e
9 files changed