hevc: More cosmetic-ish changes
hevc: Refactor macros a little
wip: Prevent s->ref->tab_mvf[-1] and left_array[-1] reference

Tested-By: fate-hevc-conformance-PPS_A_qualcomm_7
hevc: more Macros
hevc: more macros!
hevc: Restructure
hevc: more cleanups
Merge remote-tracking branch 'lu-zero/hevc_upstream' into
hevc_upstream_wo_mt

Conflicts:
	libavcodec/hevcpred_template.c