d2d1: Do not reference layer objects when recording to the command list. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>