src/client/send_nsca.c: Remove nonsensical cast

Our xasprintf() returns no value.
Don't specify "unused" attribute in declaration

Specify __attribute__((__unused__)) only in function definitions, not in
function declarations.  The latter is unnecessary, and we didn't do that
elswehere in the code.