Fixes building against linux 4.12 by conditionally including asm/set_memory.h where functions moved to that file are called in the conftest and module code. Closes: #6957 [via git-merge-pr]