Fix SemanticVersion.isSupportedBy minor/patch handling

patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for
CASSANDRA-5496