Merge pull request #1381 from js6i/volatile_buffer_locking

MVKMTLBufferAllocator: Make sure temporary buffers stay mlocked() until they're encoded.