[PATCH 4.9 17/44] char/mwave: fix potential Spectre v1 vulnerability