At the moment we list a set of specifric platforms for which we use alloca for
_LIBUNWIND_REMEMBER_ALLOC. We assume that on those platforms alloca is already
provided somehow. This assumption turns out to be wrong sometimes. In
particular a baremetal system using picolibc is assumed to provide aloca, but
doesn't when compiled with pedantic/without gnu extentions.
This changes the behaviour by looking for different ways an alloca
implementation could be provided and using it when found. If no alloca can be
found we revert back to using malloc.
Please avoid changing the indentation of the otherwise unchanged lines (throughout the whole patch).