x86: fix sparse warnings in cpu/common.c