/api/delete_sr_image: Ensure valid name submitted.

Previously, if an invalid image name were passed to this endpoint, it
would fail because VCssName would return an empty string and we'd never
check for the validity of the value.

Fixes reddit/reddit#883.