Set the si_code appropriately for exception-caused signals.

LLDB checks the si_code, and aborts if a code isn't known.

MFC after:	2 weeks
Relnotes:	yes
Use OF_getencprop() in preference to OF_getprop() and manual byte-swapping.
Remove unnecessary inclusion of FDT headers.