configure: detect PGI compiler and set suitable flags