Fix various issues in libswscale for PPC

Fixes #1617