hevc: Fix a wrong check for validity of temporal_id_nesting_flag.

This regression is introduced at ca24b48 .