SPARK-1632. Remove unnecessary boxing in compares in ExternalAppendOnlyM...

...ap