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_12 in 8 minutes and 56 seconds (queued for 4 seconds)