Use to_bitboard instead of bitwise operations in knight_movelocs

Bitwise is hard to read.