[PATCH 4.15 186/202] lib/ubsan: add type mismatch handler for new GCC/Clang