ACMotors: remove unused get_num_motors function

Saves about 4 bytes of RAM