XCore target: Fix eliminateFrameIndex() to handle large frames