The excitonic bandgap of GaN: Dependence on substrate