DMAR: clean up warnings about write-only variables
(cherry picked from commit 661bd70bd72d510ad7153df530d55a300046d619)