[SPARK-1820] Make GenerateMimaIgnore @DeveloperApi annotation aware.