Add a NULL check in ReduceKeyReduceSide#equals().

This bug was revealed by the AppendOnlyMap.