s4-dns: Add some NULL checks to create_response_rr