Update movegen.cpp

Use arrow operator instead of * and .

No functional change.