If it has hardened, that should not affect the content or it's structure in any way.
Piracetam is a hygroscopic compound; the powder grains simply bonded to one another during their time in storage. You can try just going @ it with something to try and break up the biggest lumps. I personally recommend giving the entire container a good shaking-up every now and then.
In any event the texture will not affect the efficacy of the product in any way. Continue to measure out & use as you normally would.
Cheers.