decouple OBMC encoder SPS setting from TM, and add a check whether TM OBMC is enabled before changing it based on the hash