linux: add read_descriptor_t configure test and ifdef