acpica: Use only one #ifdef _KERNEL ... and use 'inline' directly.