cmdutils: Allocate private decoder context if its not allocated yet.