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

(cherry picked from commit abb2fd10)
7 jobs for 341-constify-dns_rdata_tostruct-v9_11 in 9 minutes and 9 seconds (queued for 6 seconds)