libhb: Fix stride bug in mean prefilter for nlmeans and refactor to multiply instead of divide.