[PATCH 4.14 181/195] lib/ubsan: add type mismatch handler for new GCC/Clang