naming: vote.validate: Make sure that sr_id is not None.

Seems to be happening when some stupid bots are voting on things that
aren't links or comments. Bleh.