Merge changes from topic "dtbtool" into o8.1

* changes:
  dtbtool: Allow forcing v3 output.
  dtbtool: Clear misc build warnings
  dtbtool: fix for filesystems that don't return d_type from readdir
  dtbtool: simplify code. reducing indenting.
  dtbtool: add new --dt_tag switch