Allow deprecation of methods in same class with different access levels

As discussed here:
http://www.vtk.org/pipermail/vtk-developers/2013-January/012599.html

Change-Id: I04d3027a60d3000c495ea37f4aaadfc337300648
Merge topic 'fix_redeclared_deprecation_comp_failure' into master

13fad84c Allow deprecation of methods in same class with different access levels