Removed outdated methods in DatabasePlatformMock.

Same as https://github.com/doctrine/doctrine2/pull/567