Core: Add asm for PlaneAverage and PlaneDifference

On my Core 2 Duo they're ~2.3 times faster than gcc for 8 bit, and ~1.5 times faster for 16 bit.