checkpatch: refactor 'allowed asm includes' and add memory.h