[BlackBerry] fix confusing destruction sequence in LayerCompositingThread