Revert "cpumask: introduce new APIs"