mysql: Fix compiling with -fno-strict-aliasing.