Use NAN macro instead of 1/0.f to satisfy ubsan
Enable ubsan
Fix unaligned load in h2n.c