dummyDeleter(): add check for trivial destructor of used type
dummyDeleter(): add check for trivial destructor of used type

Add static_assert() that checks whether the type used with this function
is trivially destructible.
jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,jasmin-j/distortos,DISTORTEC/distortos,jasmin-j/distortos,DISTORTEC/distortos,CezaryGapinski/distortos