of/lib: Allow scripts/dtc/libfdt to be used from kernel code