[PATCH v2 31/35] common: Move check_member() to kernel.h