Allow getAnnotationsFromOffset to ignore close elements,

This causes a bug in remapStoreIndexes where annotated elements
get remapped twice (once for open, once for close).

BUg: 61332
Change-Id: I867f593d424fc57f1a2ec4bbf4663cacbe405ed4
Merge "Allow getAnnotationsFromOffset to ignore close elements,"