(core+test) added child-ftruncate recovery

A common issue with shared memory between trust
barriers is the possibility of DoS from a client
ftruncating the descriptor connected to the shared
memory. This commit adds a preliminary handler
for that situation by forcing frameserver- sensitive
sections to be marked as such, with a sigjmp based
recovery.