ACPICA: Optimization: Reduce the number of namespace walks