[AE] Add resample factory and Pi accelerated resampling

The Pi's GPU supports high quality resampling, format conversion and up/down mixing.
This PR creates a factory for different resample implementations, moves the current one into ResampleFFMPEG, and adds a ResamplePi GPU accelerated implementation.

More likely for Helix+1 (although it should be low risk), but submitting for visibility.