Use OGR api tests spatial index availability before build it. The spatial index is built only if it doesn't exist or if force_rebuild option is on