hlint cleanup for ByteSource
hlint cleanup for R.Primitive
hlint cleanup for R.Memory
hlint cleanup for R.Util.TH