dtoc: Convert the Fdt.Prop class to Python 3

Update this class to work correctly on Python 3 and to pass its unit
tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
1 file changed