configure: use warn function for unrecognised --cc and --arch settings