libhb: Add median prefilter to nlmeans.