Cleanup pinned and friends in movegen.cpp