of_asprintf: Fix type mismatch on LP64 systems