hevc: templatize pred_planar

Signed-off-by: Anton Khirnov <anton@khirnov.net>

Conflicts:
	libavcodec/hevcpred_template.c