Silence a few compiler warnings new with gcc 8.