Nonmonotonic evolution of the charge gap in ZnV2O4 under pressure