Fix the libjpeg configure test to look for the right function.