[PATCH 4/6] mfplat: Do not mark the buffer as locked if Lock2D() fails.