Name: In Component, don't mark getFinalSegmentPrefix with DEPRECATED_IN_NDN_CPP because it generates unneeded warnings from isFinalSegment, etc.