[PATCH 4.14 23/68] char/mwave: fix potential Spectre v1 vulnerability