cpu: Fail gracefully if unsupported mining algo gets into scanhash