I think you're misinterpreting those panels. It's possible we'll get a twist where this Harry has lost his memories, but the simpler explanation is that Malfoy didn't use a happy memory to conjure the Patronus, but a strong fantasy that served just as well. Harry himself did this in the books...