java_model: don't consider virtual classes as fixed length

Reviewer: @yotamhc