The GSL numerical integration functions -- gsl_integration_qng, gsl_integration_qag, etc. -- require as their first argument a pointer to another function, written in C, that is to be integrated. Since AMPL does not have function pointers, it is not possible to provide these routines directly as AMPL functions (as is done with the GSL functions that are included in the AMPL Extended Function Library).
However you could write your own AMPL user-defined function that takes a variable as an argument, and then passes that variable to one of the gsl_integration_... functions as either argument a (lower bound) or argument b (upper bound). Your user-defined function would be a C function that includes both a gsl integration function and a C implementation of the function that you want to integrate. For writing user-defined functions, there are general instructions and examples under "User-defined functions" at
http://ampl.com/REFS/hooking2.pdf#page=19. The best approach is to start with a simple example and then modify it for your needs.