avcodec/truemotion1: Fix undefined behavior (left shift of negative value)