Remove USE_STATIC_MYSQLD

USE_STATIC_MYSQLD has not been used for a long time, and CMake will
ignore it if used. The code snippet refers to a bug reported against
MySQL 4.0.