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_9 in 6 minutes and 6 seconds (queued for 5 seconds)