Bugfix for BIM, index out of bounds error
At certain sequence length BIM might index unavailable pictures. Same error as ticket 1543 for VTM, https://jvet.hhi.fraunhofer.de/trac/vvc/ticket/1543
At certain sequence length BIM might index unavailable pictures. Same error as ticket 1543 for VTM, https://jvet.hhi.fraunhofer.de/trac/vvc/ticket/1543