NSW woman avoids prison for mother's death