Support BufferGeometry in Box3.setFromObject()

Fixes #5192