avcodec/clearvideo: Check remaining input bits in P macro block loop