Declare the 'rdata' argument for dns_rdata_tostruct() to be const

(cherry picked from commit abb2fd10)
8 jobs for 341-constify-dns_rdata_tostruct-v9_10 in 10 minutes and 46 seconds (queued for 5 seconds)