[PATCH 4.9 073/117] Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var