bcache: cleaned up error handling around register_cache()