[BitcodeReader] Change an assert to a call to a call to Error()