dtoc: Make use of the new pylibfdt methods