[PATCH 4.20 050/117] char/mwave: fix potential Spectre v1 vulnerability