opengl32: Replace get_function_proto helper with get_func_(args|ret).