Add warning in ctypes documentation for #16575 and #16576