[PATCH v6 19/22] drivers: use devfdt_get_addr_ptr when cast to pointer