Merge changes from topic "refactor_prepare_dtb" into integration

* changes:
  refactor(zynqmp): use common code for prepare_dtb
  refactor(xilinx): remove multiple return paths in prepare_dtb