Fix a logic bug in inline expansion of memcpy / memset with an overlapping