acpidump: add printfield() helper
(cherry picked from commit 969a4b8be5a7d8edf55bd8945a5a071f57386b0e)