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
5 files changed