avcodec/flacdec: make while get_bits loop more robust by checking bits left