[scudo] Add Scudo support for Trusty OS

trusty.cpp and trusty.h define Trusty implementations of map and other
platform-specific functions. In addition to adding Trusty configurations
in allocator_config.h and size_class_map.h, MapSizeIncrement and
PrimaryEnableRandomOffset are added as configurable options in
allocator_config.h.
Background on Trusty: https://source.android.com/security/trusty

Differential Revision: https://reviews.llvm.org/D103578

GitOrigin-RevId: 2551053e8d8df464d5b60e7c9b0add8f85cc1e10
Change-Id: I790ba0e1932e7d2174b5cf8bb2c1393aec9cf6f6
10 files changed