Make QVM memset and memcpy return dest address like C standard