efihttp: mac and err can be used uninitialized
While there, also check if mac != NULL, and use pointer compare for ipv4 and dns.