box: Handle empty and infinite boxes a bit better
box: Handle empty and infinite boxes a bit better

Before we go into SIMD operations, we need to check for infinities,
given that we might end up in an empty or infinite box.

ebassi/graphene,ebassi/graphene