FS-11785 [mod_av] fix a couple dead assignments and inconsistent assumption that mm pointer could be NULL