Fixed typo in void LatticeField::resizeBufferDevice