bmx7: fix compilation with GCC 10