[matter] add support for needed_p_mask_changes backtrack info