Pamela Anderson's upcoming memoir was inspired by ‘devotion to her children’