pylibfdt: Rework "avoid unused variable warning" lines