stagefright: Add ifdefs for HFR calculations