Remove some unnecessary dereferences caught by Clang.