Add gzopen() function test to "required" system check fixes  #5925