Fix size parameter to memset (noticed by gcc 6.3)