[xvidcore/f29] fix crash in check_cpu_features (rfbz#5141), patch by Peter Ross