ASoC: pxa: move some functions to pxa2xx-lib