Add helper functions to set inactive elements to value.
Values of std::numeric_limits<{,u}int{8,16,32,64}_t>::{min,max}() are
supported, but other values (supported in constant_pool) may be used.
Test: m berberis_all
Change-Id: I05b32f422d157277d4138f9bf1bd6226e54370f5
Berberis: dynamic binary translator to run Android apps with riscv64 native code on x86_64 devices or emulators.