aria2: fix compilation on Clang 5

Closes #21356.

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