Fixed device memory free when resizing the device buffer.
Merge branch 'quda-0.7' of https://github.com/lattice/quda into quda-0.7