Flux and Chiral Matter in SU(5)xU(1) F-Theory GUT Models and their IIB Analogue