Linux: Fix write_begin configure test for recent RHEL kernels