aria2: Only require gnutls when necessary

gnutls isn't required when the user asks for aria2 to be brewed
`--with-appletls`.

Closes #22561.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>