Mordell integrals and Giveon-Kutasov duality