libfdt: Conditionally compile based on CONFIG_OF_LIBFDT