Fix warnings from import of libfdt