stmmac: fix pm functions avoiding sleep on spinlock