LUCENE-5207: Thanks Robert for help with this opcode

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1523360 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5207: Simpler without cast

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1523361 13f79535-47bb-0310-9956-ffa450edef68